import request from '@/utils/request'

import { jdyadmin } from '@/settings'
/**
 * -------------------------------------------------------
 * ----------------------入库单出库单----------------------
 * -------------------------------------------------------
 */
// 入库单出库单查询
export function getChuRu(data) {
	return request({
		url: `${jdyadmin}/stockAccess/list`,
		method: 'get',
		params: data
	})
}

// 新增入库单出库单
export function addChuRu(data) {
	return request({
		url: `${jdyadmin}/stockAccess/save`,
		method: 'post',
		params: data
	})
}